import { User } from './user'

export interface FileInfo {
  id?: number
  createdDate?: string
  lastModifiedDate?: string
  isDeleted?: boolean
  fileId?: string
  url?: string
  groupName?: string
  name?: string
  extension?: string
  size?: number
  addedBy?: AddedBySelectOptionType
  hash?: string
}

export interface FileUpload {
  files?: FormData[]
}

export interface AddedBySelectOptionType {
  id: number
  name: User
}

export interface FileInfoAddType {
  name?: string
}

export type FileInfoEditType = {
  name?: string
}

export interface ConditionSelectorParams {
  keywords?: string
}
